package com.alan.prototype;

/**
 * Created by Alan on 2018/8/23.
 */
public class Person implements Cloneable{
    private String name;

    public Person clone() throws CloneNotSupportedException {
        return (Person)super.clone();
    }

    public String getName() {
        return name;
    }

    public Person setName(String name) {
        this.name = name;
        return this;
    }
}
